Source for file error.php

Documentation is available at error.php

  1. <?php
  2. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  3.  
  4. function dump($var{
  5.     $trace debug_backtrace();
  6.     echo "<div style=\"text-align:left\">dump() in {$trace[0]['file']}:{$trace[0]['line']}</div>";
  7.     //include_once 'Var_Dump.php';
  8.     if (class_exists('Var_Dump')) {
  9.         Var_Dump::displayInit(array('display_mode'=>'HTML4_Table'));
  10.         Var_Dump::display($var);
  11.     else {
  12.         echo "<pre style=\"text-align:left\">";
  13.         var_dump($var);
  14.         echo "</pre>";
  15.     }
  16. }
  17.  
  18.  
  19. ?>

Documentation generated on Mon, 05 May 2008 16:19:25 +0400 by phpDocumentor 1.4.0